from django.shortcuts import render,reverse
from django.http import HttpResponse

# Create your views here.

# 127.0.0.1:8000/users/index/
# def index(request):
#
#     return HttpResponse("第一个index")


def say(requset):
    return HttpResponse("say")


def sayhello(requset):
    return HttpResponse("sayhello")


def index(request):
    print(reverse('users:index'))
    print('----------------------')

    return HttpResponse('hello world')